package com.hqhy.like.stock.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("like_table")
public class Table implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id ;

    private String tableName;

    private Integer capacity;

    private Integer isAvailable;

    private Integer isEnable;

    /**
     * 数据创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;

    /**
     * 数据最后修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;
}
